<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0">
    
    <xsl:output method="xml" />
    
    <xsl:template name="print-manifest-mod3">
        <xsl:param name="lang"/>
        <xsl:choose>
            <xsl:when test="$lang='es'">
                <manifest>
                    <resources identifier="es">
                        <pool name="Accueil">
                            <subpool type="none">
                                <resource identifier="Accueil" href="actividad/paginadebienvenida.html"/>
                            </subpool>
                        </pool>
                        <pool name="Dire où est quelque chose : les prépositions" id="a1">
                            <subpool type="discovery">
                                <resource identifier="m3a1a_e" href="actividad/m3a1a-e.html"/>
                                <resource identifier="m3a1b1_e" href="actividad/m3a1b1-e.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a9a_e" href="actividad/m3a9a-e.html"/>
                                <resource identifier="m3a9c_e" href="actividad/m3a9c-e.html"/>
                                <resource identifier="m3a9d_e" href="actividad/m3a9d-e.html"/>
                            </subpool>
                        </pool>
                        
                        <pool name="Décrire quelque chose : accord des adjectifs" id="a2">
                            <subpool type="discovery">
                                <resource identifier="m3a2a_e" href="actividad/m3a2a-e.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a2f_e" href="actividad/m3a2f-e.html"/>
                            </subpool>
                        </pool>
                        <pool name="Décrire quelque chose : place des adjectifs" id="a3">
                            <subpool type="discovery">
                                <resource identifier="m3a3a_e" href="actividad/m3a3a-e.html"/>
                            </subpool>
                            <!--<subpool type="training">
                                <resource identifier="m3a3c_e" href="actividad/m3a3c-e.html"/>
                                <resource identifier="m3a3d_e" href="actividad/m3a3d-e.html"/>
                            </subpool>-->
                        </pool>
                        <pool name="Décrire quelque chose : superlativo relativo" id="a4">
                            <subpool type="discovery">
                                <resource identifier="m3a4a1_e" href="actividad/m3a4a1-e.html"/>
                                <resource identifier="m3a4a2_e" href="actividad/m3a4a2-e.html"/>
                                <resource identifier="m3a4a3_e" href="actividad/m3a4a3-e.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a4c_e" href="actividad/m3a4c-e.html"/>
                            </subpool>
                        </pool>
                        <pool name="Parler d'architecture, de formes et de couleurs" id="a6">
                            <subpool type="training">
                                <resource identifier="m3a6e_e" href="actividad/m3a6e-e.html"/>
                                <resource identifier="m3a6f_e" href="actividad/m3a6f-e.html"/>
                            </subpool>
                        </pool>
                        <pool name="Parler de topographie, de flore" id="a7">
                            <subpool type="discovery">
                                <resource identifier="m3a7a_e" href="actividad/m3a7a-e.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a7c_e" href="actividad/m3a7c-e.html"/>
                                <resource identifier="m3a7d_e" href="actividad/m3a7d-e.html"/>
                                <resource identifier="m3a7e_e" href="actividad/m3a7e-e.html"/>
                            </subpool>
                        </pool>
                        <pool name="Dire que quelquechose est beau" id="a8">
                            <subpool type="discovery">
                                <resource identifier="m3a8a_e" href="actividad/m3a8a-e.html"/>
                            </subpool>
                        </pool>
                    </resources>
                </manifest>
            </xsl:when>
            
            <xsl:when test="$lang='fr'">
                <manifest>
                    <resources identifier="fr">
                        <pool name="Accueil">
                            <subpool type="none">
                                <resource identifier="Accueil" href="activite/accueil.html"/>
                            </subpool>
                        </pool>
                        <pool name="Dire où est quelque chose : les prépositions" id="a1">
                            <subpool type="discovery">
                                <resource identifier="m3a1a_f" href="activite/m3a1a-f.html"/>
                                <resource identifier="m3a1b1_f" href="activite/m3a1b1-f.html"/>
                                <resource identifier="m3a1b2_f" href="activite/m3a1b2-f.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a9a_f" href="activite/m3a9a-f.html"/>
                                <resource identifier="m3a9c_f" href="activite/m3a9c-f.html"/>
                                <resource identifier="m3a9d_f" href="activite/m3a9d-f.html"/>
                            </subpool>
                        </pool>
                        
                        <pool name="Décrire quelque chose : accord des adjectifs" id="a2">
                            <subpool type="discovery">
                                <resource identifier="m3a2a_f" href="activite/m3a2a-f.html"/>
                                <resource identifier="m3a2b_f" href="activite/m3a2b-f.html"/>
                                <resource identifier="m3a2c_f" href="activite/m3a2c-f.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a2e_f" href="activite/m3a2e-f.html"/>
                                <resource identifier="m3a2f_f" href="activite/m3a2f-f.html"/>
                            </subpool>
                        </pool>
                        <pool name="Décrire quelque chose : place des adjectifs" id="a3">
                            <subpool type="discovery">
                                <resource identifier="m3a3a_f" href="activite/m3a3a-f.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a3c_f" href="activite/m3a3c-f.html"/>
                                <resource identifier="m3a3d_f" href="activite/m3a3d-f.html"/>
                            </subpool>
                        </pool>
                        <pool name="Parler d'architecture, de formes et de couleurs" id="a6">
                            <subpool type="training">
                                <resource identifier="m3a6e_f" href="activite/m3a6e-f.html"/>
                                <resource identifier="m3a6f_f" href="activite/m3a6f-f.html"/>
                            </subpool>
                        </pool>
                        <pool name="Parler de topographie, de flore" id="a7">
                            <subpool type="discovery">
                                <resource identifier="m3a7a_f" href="activite/m3a7a-f.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a7c_f" href="activite/m3a7c-f.html"/>
                                <resource identifier="m3a7d_f" href="activite/m3a7d-f.html"/>
                                <resource identifier="m3a7e_f" href="activite/m3a7e-f.html"/>
                            </subpool>
                        </pool>
                        <pool name="Dire que quelquechose est beau" id="a8">
                            <subpool type="discovery">
                                <resource identifier="m3a8a_f" href="activite/m3a8a-f.html"/>
                            </subpool>
                        </pool>
                    </resources>
                </manifest>
            </xsl:when>
            
            <xsl:when test="$lang='it'">
                <manifest>
                    <resources identifier="it">
                        <pool name="Accueil">
                            <subpool type="none">
                                <resource identifier="Accueil" href="attivita/paginainiziale.html"/>
                            </subpool>
                        </pool>
                        <pool name="Dire dov'è qualcosa: preposizioni" id="a1">
                            <subpool type="discovery">
                                <resource identifier="m3a1a_i" href="attivita/m3a1a-i.html"/>
                                <resource identifier="m3a1b1_i" href="attivita/m3a1b1-i.html"/>
                                <resource identifier="m3a1c1_i" href="attivita/m3a1c1-i.html"/>
                            </subpool>
                        </pool>
                        
                        <pool name="Usare aggettivi: forme degli aggettivi" id="a2">
                            <subpool type="discovery">
                                <resource identifier="m3a2a1_i" href="attivita/m3a2a1-i.html"/>
                                <resource identifier="m3a2a2_i" href="attivita/m3a2a2-i.html"/>
                                
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a2c1_i" href="attivita/m3a2c1-i.html"/>
                                <resource identifier="m3a2c2_i" href="attivita/m3a2c2-i.html"/>
                            </subpool>
                        </pool>
                        <pool name="Usare aggettivi: posizione degli aggettivi" id="a3">
                            <subpool type="discovery">
                                <resource identifier="m3a3a_i" href="attivita/m3a3a-i.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a3c_i" href="attivita/m3a3c-i.html"/>
                                <resource identifier="m3a3d_i" href="attivita/m3a3d-i.html"/>
                            </subpool>
                        </pool>
                        <pool name="Usare aggettivi: superlativo" id="a4">
                            <subpool type="discovery">
                                <resource identifier="m3a4a1_i" href="attivita/m3a4a1-i.html"/>
                                <resource identifier="m3a4a2_i" href="attivita/m3a4a2-i.html"/>
                                <resource identifier="m3a4a3_i" href="attivita/m3a4a3-i.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a4c_i" href="attivita/m3a4c-i.html"/>
                            </subpool>
                        </pool>
                        <pool name="Variare l'espressione: diminutivi e accrescitivi" id="a5">
                            <subpool type="discovery">
                                <resource identifier="m3a5a_i" href="attivita/m3a5a-i.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a5c_i" href="attivita/m3a5c-i.html"/>
                            </subpool>
                        </pool>
                        <pool name="Descrivere: architettura, forme, colori" id="a6">
                            <subpool type="training">
                                <resource identifier="m3a6e_i" href="attivita/m3a6e-i.html"/>
                                <resource identifier="m3a6f_i" href="attivita/m3a6f-i.html"/>
                            </subpool>
                        </pool>
                        <pool name="Descrivere: topografia e flora" id="a7">
                            <subpool type="discovery">
                                <resource identifier="m3a7a_i" href="attivita/m3a7a-i.html"/>
                            </subpool>
                            <subpool type="training">
                                <resource identifier="m3a7c_i" href="attivita/m3a7c-i.html"/>
                                <resource identifier="m3a7d_i" href="attivita/m3a7d-i.html"/>
                                <resource identifier="m3a7e_i" href="attivita/m3a7e-i.html"/>
                            </subpool>
                        </pool>
                        <pool name="Esprimere impressioni: verbi e aggettivi " id="a8">
                            <subpool type="discovery">
                                <resource identifier="m3a8a_i" href="attivita/m3a8a-i.html"/>
                            </subpool>
                        </pool>
                    </resources>
                </manifest>
            </xsl:when>
            
            
            <xsl:otherwise>
                error : language not found or not specified
            </xsl:otherwise>
        </xsl:choose>
        
    </xsl:template>
</xsl:stylesheet>